<#include "/common/commoncss.ftl">
<div class="box-body no-padding">
    <div>
        <table class="table table-hover ">
            <tr>
                <th scope="col">ID</th>
                <th scope="col">名称</th>
                <th scope="col" class="widths">路径</th>
                <th scope="col">类型</th>
                <th scope="col">开启权限</th>


            </tr>
            <#list oneMenuAll as par>
            <tr style="background-color:rgba(255, 235, 59, 0.19);">
                <td class="menuid">${par.menuId}</td>
                <td><span>${par.menuName}</span></td>
                <td><span class="widths">${par.menuUrl}</span></td>
                <td><span class="menus">菜单</span></td>
                <td>
                    <#if par.isShow?? && par.isShow==1>
                    <span class="labels">
												<label><input type="checkbox" name="isShow" class="val"
                                                              checked><i>✓</i></label></span>
                    <#else>
                    <span class="labels">
												<label><input type="checkbox" name="isShow"
                                                              class="val"><i>✓</i></label></span>
                </#if></td>


            </tr>
            <#list twoMenuAll as son>
            <#if par.menuId?? && son.parentId?? && par.menuId==son.parentId>
            <tr>
                <td class="menuid">${(son.menuId)!''}</td>
                <td><span>${(son.menuName)!''}</span></td>
                <td><span class="widths">${(son.menuUrl)!''}</span></td>
                <td><span class="menus">菜单</span></td>
                <td><#if son.isShow?? && son.isShow==1>
                    <span class="labels">
												<label><input type="checkbox" name="isShow" class="val"
                                                              checked><i>✓</i></label></span>
                    <#else>
                    <span class="labels">
												<label><input type="checkbox" name="isShow"
                                                              class="val"><i>✓</i></label></span>
                </#if></td>


            </tr>
        </#if>
    </#list>
</#list>

</table>
</div>
</div>
<#--<div class="col-md-12 thistable">-->
<#--    <!--id="container"&ndash;&gt;-->
<#--    <#include "/common/paging.ftl">-->
<#--</div>-->